package com.wyj.service;

import com.wyj.pojo.Comment;

import java.util.List;

public interface CommentService {

    List<Comment> getCommentsByEntity(int entityId,int entityType,int start,int limit);
    int getComments(int entityId,int entityType);

    int addComment(Comment comment);

    Comment getCommentById(int id);
}
